#! /bin/bash

lsmod | grep nouveau
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
sudo apt install nvidia-driver-435

reboot
nvidia-smi